package org.cy.example.domain.entity

import org.cy.evolution.net.http.response.Response

data class CustomResponse<T>(
        val code: Int,
        val msg: String,
        val data: T
) : Response() {
    fun success(): Boolean {
        return code == 200
    }
}